package com.example.workshop.lesson7;

import com.example.workshop.lesson7.Filter;
import org.springframework.stereotype.Component;

@Component
public class CollaborativeFilter implements Filter {
    //输入电影
    public String[] getRecommendations(String movie) {
        //返回推荐电影
        return   new String[]{"星球大战","火星救援","星际穿越"};

    }
}
